<?php

namespace src\abstractDemo;




class FactroyMethod implements FactoryPort
{

    public function AliPay()
    {
        return new AliPay();
        // TODO: Implement AliPay() method.
    }

    public function WeChatPay()
    {
        return new WeChatPay();
        // TODO: Implement WeChatPay() method.
    }

    public function YunPay()
    {
        // TODO: Implement YunPay() method.
    }
}